package com.loong.common.rabbitmq.dto.base;

import com.loong.common.rabbitmq.enums.BusinessEvent;
import lombok.*;

import java.io.Serializable;

@Setter
@Getter
@Builder
@ToString
@AllArgsConstructor
public class BusinessEventDto<T> implements Serializable {

    /**
     * @see BusinessEvent
     */
    private Short eventCode;
    private T data;

}
